<div class="clearfix">
<?php if(isset ($aryProductMaker[0])) {?>
    <?php $i = 1; foreach ($aryProductMaker as $key => $value) {?>
        <?php if($makerName == $value['product_maker_name_filter']){?>
            <div class="brand_selected">
                <img  src="<?php echo $sub_domain;?>/images/upload/thumbnail/<?php echo $value['product_maker_main_logo'];?>" title="<?php echo $value['product_maker_name'];?>">
                <a href="<?php echo $linkRemoveMaker;?>">
                    <img src="<?php echo $sub_domain;?>/images/form/delete.png" title="Xóa lựa chọn này">
                </a>
            </div>
        <?php } else{?>
            <div class="cate_brand">
            <a href="<?php echo $root_page;?>/danhmuc/<?php echo $categoryId;?>/<?php echo $categoryNameFilter;?>/<?php echo $value['product_maker_name_filter'];?>/<?php echo $filterPrice;?>/<?php echo $strSpecs;?>/">
                <img  src="<?php echo $sub_domain;?>/images/thumbnail/<?php echo $value['product_maker_main_logo'];?>" alt="<?php echo $value['product_maker_name_filter'];?>" title="<?php echo $value['product_maker_name_filter'];?>"/> <br>
                <strong><?php echo $value['product_maker_name'];?></strong>
            </a>
            </div>
        <?php } ?>

        <?php if($i % 3 == 0){?>
            </div><div>
        <?php } ?>
    <?php } ?>
<?php } ?>
    
</div>